package com.qdu.program.service;

import com.qdu.program.entity.Read;

import java.util.List;

public interface ReadService {

    int deleteByPrimaryKey(Integer readId);

    int deleteByUserNumber(String userNumber);

    int insert(Read record);

    int insertSelective(Read record);

    Read selectByPrimaryKey(Integer readId);

    int updateByPrimaryKeySelective(Read record);

    int updateByPrimaryKey(Read record);

    Read selectOneRead(Integer id);

    List<Read> selectTenRead();

    List<Read> selectReadByUserNumber(String userNumber);

    List<Read> getAllRead();
}
